home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / lang / FPL_v147.lha / fpl / funclib / smakefile < prev    next >
Makefile  |  1994-05-02  |  3KB  |  64 lines

  1. ########################################################################
  2. #                                                                      #
  3. # fpl.library - A shared library interpreting script langauge.         #
  4. # Copyright (C) 1992-1994 FrexxWare                                    #
  5. # Author: Daniel Stenberg                                              #
  6. #                                                                      #
  7. # This program is free software; you may redistribute for non          #
  8. # commercial purposes only. Commercial programs must have a written    #
  9. # permission from the author to use FPL. FPL is *NOT* public domain!   #
  10. # Any provided source code is only for reference and for assurance     #
  11. # that users should be able to compile FPL on any operating system     #
  12. # he/she wants to use it in!                                           #
  13. #                                                                      #
  14. # You may not change, resource, patch files or in any way reverse      #
  15. # engineer anything in the FPL package.                                #
  16. #                                                                      #
  17. # This program is distributed in the hope that it will be useful,      #
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of       #
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                 #
  20. #                                                                      #
  21. # Daniel Stenberg                                                      #
  22. # Ankdammsgatan 36, 4tr                                                #
  23. # S-171 43 Solna                                                       #
  24. # Sweden                                                               #
  25. #                                                                      #
  26. # FidoNet 2:201/328    email:dast@sth.frontec.se                       #
  27. #                                                                      #
  28. ########################################################################
  29.  
  30. FUNC = func
  31. LIB  = lib
  32. TEST = test
  33.  
  34. #
  35. # These flags build the .library:
  36. #
  37. FLAGS = STRINGMERGE UNSIGNEDCHAR NOSTKCHK DATA=NEAR\
  38. NOVERSION DEBUG=S
  39. #OPTIMIZE
  40.  
  41.  
  42.  
  43. ASMFLAGS = IDIR=Include: ASSEMBLER
  44. LINKFLAGS = SC SD
  45. LIBS = LIB:sc.lib LIB:amiga.lib
  46. FUNCSOURCE = func.c
  47. LIBSOURCE = lib.c
  48. TESTSOURCE = test.c
  49.  
  50. CC = sc
  51. ASM = sc
  52. LINK = slink
  53.  
  54. all: $(FUNC) $(LIB) $(TEST)
  55.  
  56. $(TEST): $(TESTSOURCE)
  57.     sc $(FLAGS) link DEFINE=AMIGA $(TESTSOURCE) to $(TEST) noicons
  58.  
  59. $(FUNC): $(FUNCSOURCE)
  60.     sc $(FLAGS) link $(FUNCSOURCE) to $(FUNC) noicons
  61.  
  62. $(LIB): $(LIBSOURCE)
  63.     sc $(FLAGS) link $(LIBSOURCE) to $(LIB) noicons
  64.